import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('../views/ProgramServices/home.vue')
    },
    {
      path: '/api/login',
      name: 'login',
      component: () => import('../views/api/login.vue')
    },
    {
      path: '/crud',
      name: 'crud',
      component: () => import('../views/ProgramServices/CRUD/crud.vue')
    },
    {
      path: '/test',
      name: 'test',
      component: () => import('../views/ProgramServices/test/test.vue')
    },
  ]
})

export default router
